const express = require('express')
const app = express()

app.use((req,res,next) => {
    console.log('调用第一个');
    next()
})
app.use((req,res,next) => {
    console.log('调用第二个');
    next()
})
app.use((req,res,next) => {
    console.log('调用第三个');
    next()
})
app.use((req,res,next) => {
    console.log('调用第四个');
    next()
})

app.get('/',(req,res) => {
    res.send('User Page')
})



app.listen(80, () => {
    console.log('启动服务器成功');
})